package dao;

import bean.Role;

/**
 * @classname:RoleDao
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/29 21:30
 * @version: 0.1
 * @since:1.8
 */
public interface RoleDao {
    int addRole(Role role);
    int updateRoleId(Role role);
    Role seleteRoleById(int id);
    int addRoleAndPer(int roleid,int[] pids);
    void deleteRoleAndPer(Integer id);
}
